/**
 * 打包的入口文件
 */
import './css/main.less';
import pic from './image/my.jpg';

// 转移所有新语法
// import '@babel/polyfill'

const showMsg = () => {
  // eslint-disable-next-line
  alert(123);
};
// eslint-disable-next-line
window.showMsg = showMsg;

// eslint-disable-next-line
const img = new Image();
img.src = pic;
// eslint-disable-next-line
document.body.append(img);

const p = new Promise(() => {
  setTimeout(() => {
    // eslint-disable-next-line
    console.log('Promise is working');
  }, 1000);
});
// eslint-disable-next-line
console.log(p);
// eslint-disable-next-line
console.log("==========API_BASE_URL===========", API_BASE_URL)